<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><ui:insert name="title"/></title>
<style type="text/css">
<!--
body {
	font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
	background: #4E5869;
	margin: 0;
	padding: 0;
	color: #000;
}


ul, ol, dl { 
	padding: 0;
	margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;	 
	padding-right: 15px;
	padding-left: 15px; 
}
a img { 
	border: none;
}

a:link {
	color:#414958;
	text-decoration: underline; 
}
a:visited {
	color: #4E5869;
	text-decoration: underline;
}
a:hover, a:active, a:focus { 
	text-decoration: none;
}

.container {
	width: 80%;
	max-width: 1260px;
	min-width: 780px;
	background: #FFF;
	margin: 0 auto; 
}

.header {
	background: #6F7D94;
}


.sidebar1 {
	float: left;
	width: 20%;
	background: #93A5C4;
	padding-bottom: 10px;
}
.content {
	padding: 10px 0;
	width: 80%;
	float: left;
}


.content ul, .content ol { 
	padding: 0 15px 15px 40px; 
}


ul.nav {
	list-style: none; 
	border-top: 1px solid #666; 
	margin-bottom: 15px; 
}
ul.nav li {
	border-bottom: 1px solid #666; 
}
ul.nav a, ul.nav a:visited { 
	padding: 5px 5px 5px 15px;
	display: block; 
	text-decoration: none;
	background: #8090AB;
	color: #000;
}
ul.nav a:hover, ul.nav a:active, ul.nav a:focus { 
	background: #6F7D94;
	color: #FFF;
}

.footer {
	padding: 10px 0;
	background: #6F7D94;
	position: relative;
	clear: both; 
}

.fltrt {  
	float: right;
	margin-left: 8px;
}
.fltlft { 
	float: left;
	margin-right: 8px;
}
.clearfloat {
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}
-->

</style>

</head>

<body>

<div class="container">
  <div class="header"><a href="#">
    <center>
      <p><br/><strong>SISTEMA DE TURISMO INTEGRAL</strong>
      </p>
      <p><h:form>Bienvenido#{uBean.userWelcome}
                          
              <br/><div align="right">
           <h:commandButton action="#{uBean.logOut}"
                            rendered="#{uBean.login}"
                               value="LOG OUT" /></div>
          </h:form>
      </p>
    </center></a>
    </div>
  <div class="sidebar1">
    <ul class="nav">
        <h:form>
        <h:panelGroup rendered="#{uBean.login}">
        <li><h:commandLink value="Inicio"
                           action="inicio"/></li>
      <li><h:commandLink value="Mi perfil"
                           action="perfil"/></li>
      <li><h:commandLink value="Proveedores"
                           action="proveedores"/></li>
      <li><h:commandLink value="Servicios"
                           action="#{coleccionProveedores.verServicios}"/></li>
      <li><h:commandLink value="Mis facturas"
                           action="carrito"/></li>
        </h:panelGroup>
        </h:form>
    </ul>
   <!-- <p>-</p>-->
  </div>
  <div class="content"> 
      <ui:insert name="body"/>
  </div>
  <div class="footer">
    <p>&nbsp;</p>
    </div>
  </div>
</body>
</html>
